Optimal. Leaf size=116 \[ \frac {2 a^3 (A b-a B)}{b^5 \sqrt {a+b x}}+\frac {2 a^2 \sqrt {a+b x} (3 A b-4 a B)}{b^5}+\frac {2 (a+b x)^{5/2} (A b-4 a B)}{5 b^5}-\frac {2 a (a+b x)^{3/2} (A b-2 a B)}{b^5}+\frac {2 B (a+b x)^{7/2}}{7 b^5} \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 116, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {77} \begin {gather*} \frac {2 a^2 \sqrt {a+b x} (3 A b-4 a B)}{b^5}+\frac {2 a^3 (A b-a B)}{b^5 \sqrt {a+b x}}+\frac {2 (a+b x)^{5/2} (A b-4 a B)}{5 b^5}-\frac {2 a (a+b x)^{3/2} (A b-2 a B)}{b^5}+\frac {2 B (a+b x)^{7/2}}{7 b^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 77
Rubi steps
\begin {align*} \int \frac {x^3 (A+B x)}{(a+b x)^{3/2}} \, dx &=\int \left (\frac {a^3 (-A b+a B)}{b^4 (a+b x)^{3/2}}-\frac {a^2 (-3 A b+4 a B)}{b^4 \sqrt {a+b x}}+\frac {3 a (-A b+2 a B) \sqrt {a+b x}}{b^4}+\frac {(A b-4 a B) (a+b x)^{3/2}}{b^4}+\frac {B (a+b x)^{5/2}}{b^4}\right ) \, dx\\ &=\frac {2 a^3 (A b-a B)}{b^5 \sqrt {a+b x}}+\frac {2 a^2 (3 A b-4 a B) \sqrt {a+b x}}{b^5}-\frac {2 a (A b-2 a B) (a+b x)^{3/2}}{b^5}+\frac {2 (A b-4 a B) (a+b x)^{5/2}}{5 b^5}+\frac {2 B (a+b x)^{7/2}}{7 b^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 86, normalized size = 0.74 \begin {gather*} \frac {2 \left (-128 a^4 B+16 a^3 b (7 A-4 B x)+8 a^2 b^2 x (7 A+2 B x)-2 a b^3 x^2 (7 A+4 B x)+b^4 x^3 (7 A+5 B x)\right )}{35 b^5 \sqrt {a+b x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.05, size = 110, normalized size = 0.95 \begin {gather*} \frac {2 \left (-35 a^4 B+35 a^3 A b-140 a^3 B (a+b x)+105 a^2 A b (a+b x)+70 a^2 B (a+b x)^2-35 a A b (a+b x)^2+7 A b (a+b x)^3-28 a B (a+b x)^3+5 B (a+b x)^4\right )}{35 b^5 \sqrt {a+b x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.18, size = 106, normalized size = 0.91 \begin {gather*} \frac {2 \, {\left (5 \, B b^{4} x^{4} - 128 \, B a^{4} + 112 \, A a^{3} b - {\left (8 \, B a b^{3} - 7 \, A b^{4}\right )} x^{3} + 2 \, {\left (8 \, B a^{2} b^{2} - 7 \, A a b^{3}\right )} x^{2} - 8 \, {\left (8 \, B a^{3} b - 7 \, A a^{2} b^{2}\right )} x\right )} \sqrt {b x + a}}{35 \, {\left (b^{6} x + a b^{5}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.25, size = 134, normalized size = 1.16 \begin {gather*} -\frac {2 \, {\left (B a^{4} - A a^{3} b\right )}}{\sqrt {b x + a} b^{5}} + \frac {2 \, {\left (5 \, {\left (b x + a\right )}^{\frac {7}{2}} B b^{30} - 28 \, {\left (b x + a\right )}^{\frac {5}{2}} B a b^{30} + 70 \, {\left (b x + a\right )}^{\frac {3}{2}} B a^{2} b^{30} - 140 \, \sqrt {b x + a} B a^{3} b^{30} + 7 \, {\left (b x + a\right )}^{\frac {5}{2}} A b^{31} - 35 \, {\left (b x + a\right )}^{\frac {3}{2}} A a b^{31} + 105 \, \sqrt {b x + a} A a^{2} b^{31}\right )}}{35 \, b^{35}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 95, normalized size = 0.82 \begin {gather*} \frac {\frac {2}{7} B \,x^{4} b^{4}+\frac {2}{5} A \,b^{4} x^{3}-\frac {16}{35} B a \,b^{3} x^{3}-\frac {4}{5} A a \,b^{3} x^{2}+\frac {32}{35} B \,a^{2} b^{2} x^{2}+\frac {16}{5} A \,a^{2} b^{2} x -\frac {128}{35} B \,a^{3} b x +\frac {32}{5} A \,a^{3} b -\frac {256}{35} B \,a^{4}}{\sqrt {b x +a}\, b^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.90, size = 108, normalized size = 0.93 \begin {gather*} \frac {2 \, {\left (\frac {5 \, {\left (b x + a\right )}^{\frac {7}{2}} B - 7 \, {\left (4 \, B a - A b\right )} {\left (b x + a\right )}^{\frac {5}{2}} + 35 \, {\left (2 \, B a^{2} - A a b\right )} {\left (b x + a\right )}^{\frac {3}{2}} - 35 \, {\left (4 \, B a^{3} - 3 \, A a^{2} b\right )} \sqrt {b x + a}}{b} - \frac {35 \, {\left (B a^{4} - A a^{3} b\right )}}{\sqrt {b x + a} b}\right )}}{35 \, b^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 111, normalized size = 0.96 \begin {gather*} \frac {\left (12\,B\,a^2-6\,A\,a\,b\right )\,{\left (a+b\,x\right )}^{3/2}}{3\,b^5}+\frac {2\,B\,{\left (a+b\,x\right )}^{7/2}}{7\,b^5}+\frac {\left (2\,A\,b-8\,B\,a\right )\,{\left (a+b\,x\right )}^{5/2}}{5\,b^5}-\frac {2\,B\,a^4-2\,A\,a^3\,b}{b^5\,\sqrt {a+b\,x}}-\frac {\left (8\,B\,a^3-6\,A\,a^2\,b\right )\,\sqrt {a+b\,x}}{b^5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 15.92, size = 117, normalized size = 1.01 \begin {gather*} \frac {2 B \left (a + b x\right )^{\frac {7}{2}}}{7 b^{5}} - \frac {2 a^{3} \left (- A b + B a\right )}{b^{5} \sqrt {a + b x}} + \frac {\left (a + b x\right )^{\frac {5}{2}} \left (2 A b - 8 B a\right )}{5 b^{5}} + \frac {\left (a + b x\right )^{\frac {3}{2}} \left (- 6 A a b + 12 B a^{2}\right )}{3 b^{5}} + \frac {\sqrt {a + b x} \left (6 A a^{2} b - 8 B a^{3}\right )}{b^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________